c program to insert an element in last position in a given array